package edu.hunau.service;

import edu.hunau.dao.UserDao;
import edu.hunau.exception.BusinessException;
import edu.hunau.exception.UsernameOrPasswordErrorException;
import edu.hunau.pojo.User;

/**
 * @author hb
 * @date 2023-04-14 11:40:32
 */
public interface UserService {

     public User login(String username,String pwd) throws UsernameOrPasswordErrorException;

     public void regist(User user);

     public void checkUsername(String username) throws BusinessException;

}
